package com.antunnel.system.entity;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "bc_lotterplay")
public class LotterPlay implements Serializable{
	
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id")
	private Integer id;
	
	@ManyToOne
    @JoinColumn(name = "lotterid")
	private LotterBase lotterBase;//彩票编号
	
	@Column(name = "lotterplay")
	private String lotterplay;//玩法名称
	
	@Column(name = "readme")
	private String readme;//玩法说明
	
	@Column(name = "locktype")
	private Boolean locktype;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public LotterBase getLotterBase() {
		return lotterBase;
	}

	public void setLotterBase(LotterBase lotterBase) {
		this.lotterBase = lotterBase;
	}

	public String getLotterplay() {
		return lotterplay;
	}

	public void setLotterplay(String lotterplay) {
		this.lotterplay = lotterplay;
	}

	public String getReadme() {
		return readme;
	}

	public void setReadme(String readme) {
		this.readme = readme;
	}

	public Boolean getLocktype() {
		return locktype;
	}

	public void setLocktype(Boolean locktype) {
		this.locktype = locktype;
	}
	
	
}
